package com.teaching.management.repository;

import com.teaching.management.entity.ClassPeriod;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface ClassPeriodRepository extends JpaRepository<ClassPeriod, Integer> {
    List<ClassPeriod> findAllByOrderByDisplayOrderAsc();
}